package io.github.cchenxi.crpc.core.api;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * RPC响应
 * Date: 2024-03-06
 *
 * @author chenxi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RpcResponse<T> {
    // 状态
    private boolean status;
    // 返回值
    private T data;
    // 异常
    Exception ex;
}
